package com.sheepone.distributor.event;

import com.sheepone.distributor.listener.WorkerEventListener;

import java.util.Set;

/**
 * @author Miss.杨
 * @description
 * @since 2023-12-08 19:14
 */
public class WorkEvent  extends AbstractEvent{
    private EventContext context;
    private Set<WorkerEventListener> listeners;

    public EventContext getContext() {
        return context;
    }

    public void setContext(EventContext context) {
        this.context = context;
    }

    public Set<WorkerEventListener> getListeners() {
        return listeners;
    }

    public void setListeners(Set<WorkerEventListener> listeners) {
        this.listeners = listeners;
    }
}
